//
//  skNetTools.h
//  FRQBluetoothKit_Example
//
//  Created by admin on 2023/10/31.
//  Copyright © 2023 xuchunhai. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface skNetTools : NSObject
+ (void)skPOSTWithURL:(NSString *)url
         parameters:(NSDictionary *)parameters
        cachePolicy:(HJCachePolicy)cachePolicy
             callback:(HJHttpRequest)callback;

+(void)skGETWithURL:(NSString *)url
         parameters:(NSDictionary *)parameters
        cachePolicy:(HJCachePolicy)cachePolicy
           callback:(HJHttpRequest)callback;
+(NSString *)signString:(NSDictionary *)parameters timestamp:(NSString *)timestamp;
+(NSInteger)skgetUserType;
+(void)sksetUserType:(NSString *)type;
+(NSString *)skgetToken;
+(void)sksetToken:(NSString *)token;
+(NSString *)skgetMyDevice;
+(void)sksetMyDevice:(NSDictionary *)token;

+ (void)getBody:(NSDictionary *)params andUrl:(NSString *)url callback:(HJHttpRequest)callback;;
@end

NS_ASSUME_NONNULL_END
